package com.bcinfo.iccard.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bcinfo.iccard.model.SettlementExportReport;

public interface SettlementExportReportMapper
{
    int deleteByPrimaryKey(Long settlementExportReportId);

    int insert(SettlementExportReport record);

    int insertSelective(SettlementExportReport record);

    SettlementExportReport selectByPrimaryKey(Long settlementExportReportId);

    int updateByPrimaryKeySelective(SettlementExportReport record);

    int updateByPrimaryKey(SettlementExportReport record);

    /**
     * 一句话描述 <br/>
     * <p>
     * Description: TODO(详细描述) <br/>
     * <p>
     * Author: Administrator<br/>
     * <p>
     * Date: 2013-12-19-下午05:56:41<br/>
     * <p>
     * 
     * @param status
     * @param benginIndex
     * @param pageSize
     * @return
     * 
     */
    List<SettlementExportReport> selectDetailByStatus(@Param("exportReportStatus") Short exportReportStatus,
            @Param("beginTime") String beginTime, @Param("endTime") String endTime,
            @Param("benginIndex") int benginIndex, @Param("pageSize") int pageSize);

    /**
     * 一句话描述 <br/>
     * <p>
     * Description: TODO(详细描述) <br/>
     * <p>
     * Author: Administrator<br/>
     * <p>
     * Date: 2013-12-19-下午05:56:39<br/>
     * <p>
     * 
     * @param status
     * @return
     * 
     */
    int selectCountByStatus(@Param("exportReportStatus") Short exportReportStatus,
            @Param("beginTime") String beginTime, @Param("endTime") String endTime);

}